from django.contrib import admin
from app.models import *

@admin.register(MajorTab)
class MajorTabAdmin(admin.ModelAdmin):
    list_display = ['id', 'major']

@admin.register(JobTab)
class JobTabAdmin(admin.ModelAdmin):
    list_display = [
        'id', 'year', 'jobCode', 'city', 'unit', 'position',
        'recruitNum', 'education', 'degree', 'enrollNum',
        'checkNum', 'checkPassNum', 'payNum'
    ]

@admin.register(StudentTab)
class StudentTabAdmin(admin.ModelAdmin):
    list_display = [
        'id', 'name', 'ids', 'score', 'rank'
    ]